<template>
    <div>
        这是parent
        <Child></Child>
    </div>
</template>
<script lang="ts">
import { defineComponent, provide } from 'vue'
import Child from './Child.vue'
export default defineComponent({
    components:{
        Child,
    },
    setup(){
        provide('msg', '钟离天下第一')
    }
})
</script>